package com.zp.self.module.返回xml结构数据.工作中AEMP的使用;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author ：by peng.zeng
 * @date ：Created 2021/5/21 17:03
 * @description ：设备位置信息
 */
@Data
@Builder
@JacksonXmlRootElement(localName = "LocationInfo")
public class LocationInfo {

    @JacksonXmlProperty(localName = "datetime",isAttribute = true)
    private String  datetime;

    @JacksonXmlProperty(localName = "Latitude")
    private String  latitude;

    @JacksonXmlProperty(localName = "Longitude")
    private String  longitude;
}
